<template>
  <view class="container screen-width">
    <view class="body">
      <u-image src="http://m.51bmj.net/static/mine/viphdgz.png" width="360" height="360"></u-image>
      <view class="u-m-t-40">微信扫一扫，添加客服微信</view>
    </view>
    <view class="footer screen-width" @tap="saveImage">
      <a :href="imageUrl" download>保存图片</a>
    </view>
    <Festival></Festival>
  </view>
</template>

<script>
export default {
  data() {
    return {
      imageUrl: "/static/mine/viphdgz.png"
    };
  },
  methods: {
    // 点击保存图片
    saveImage() {
      // uni.showToast({
      //   title: "保存成功",
      //   duration: 2000,
      //   icon: "none",
      // });
    }
  }
};
</script>

<style lang="less" scoped>
.body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 160rpx;
  position: relative;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #1678ff;
  height: 88rpx;
  line-height: 88rpx;
  color: #fff;
  text-align: center;

  a {
    color: #fff;
  }
}
</style>
